﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.Models
{
    public class NotificationOperator
    {
        [MaxLength(32, ErrorMessage = "超过最大长度32!")]
        [Required]
        public string Title { get; set; }

        [Required]
        [MaxLength(1024, ErrorMessage = "超过最大长度1024!")]
        public string Content { get; set; }
        public bool IsAlert { get; set; } = false;

    }
}
